﻿#include <iostream>
using namespace std;
void OutputValues(int N, bool PrintEven = true)
{
    cout << "\nPrint each " << (PrintEven ? "even" : "odd") << " number from 0 to " << N << "\n";
    for (int i = (PrintEven == false); i < N; i += 2)
    {
        cout << i << " ";
    }
    cout << "\n";
}
int main()
{
    {
        const int N = 13;
        cout << "Simple output:\n";
        for (int i = 0; i < N; i++)
        {
            if (i & 1) continue;
            cout << i << " ";
        }
        cout << "\n";
    }
    OutputValues(25, false);
}
